package com.analysis.model;

import java.util.List;

public class OLS {
    private List<KLine> yKline;
    private List<KLine> xkline;
    private String symbol;
    private String name;
    private boolean status;
    private double beta0;
    private double beta1;
    private double residual; // 残差
    private double SSR; // 残差平方和
    private double SST; // 总平方和
    private double SSE; // 解释平方和
    private double R_squared; // 判断系数，R平方
    private double Rxy;		//相关系数

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public double getBeta0() {
        return beta0;
    }

    public void setBeta0(double beta0) {
        this.beta0 = beta0;
    }

    public double getBeta1() {
        return beta1;
    }

    public void setBeta1(double beta1) {
        this.beta1 = beta1;
    }

    public double getResidual() {
        return residual;
    }

    public void setResidual(double residual) {
        this.residual = residual;
    }

    public double getSSR() {
        return SSR;
    }

    public void setSSR(double sSR) {
        SSR = sSR;
    }

    public double getSST() {
        return SST;
    }

    public void setSST(double sST) {
        SST = sST;
    }

    public double getSSE() {
        return SSE;
    }

    public void setSSE(double sSE) {
        SSE = sSE;
    }

    public double getR_squared() {
        return R_squared;
    }

    public void setR_squared(double r_squared) {
        R_squared = r_squared;
    }

    public List<KLine> getyKline() {
        return yKline;
    }

    public void setyKline(List<KLine> yKline) {
        this.yKline = yKline;
    }

    public List<KLine> getXkline() {
        return xkline;
    }

    public void setXkline(List<KLine> xkline) {
        this.xkline = xkline;
    }

    public double getRxy() {
        return Rxy;
    }

    public void setRxy(double rxy) {
        Rxy = rxy;
    }

}
